package hr_project.hr.biz.Salary;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import hr_project.hr.dao.ISalaryDetailDao;
import hr_project.hr.entity.Salary_standerd_info;

/**
 * @author 冯亚倩
 *  薪资明细实现类
 * */


@Service
public class SalaryDetailBizImp implements ISalaryDatailBiz {

	@Autowired
	private ISalaryDetailDao dao;
	

	public ISalaryDetailDao getDao() {
		return dao;
	}

	public void setDao(ISalaryDetailDao dao) {
		this.dao = dao;
	}




	@Override
	public void delDetail_sal(long si_id) {
		// TODO Auto-generated method stub
        dao.delDatail_sal(si_id);
	}

	@Override
	public Salary_standerd_info getById_det(long si_id) {
		// TODO Auto-generated method stub
		return dao.getById_det(si_id);
	}

}
